package com.zhangh.summer.admin.biz.org;

import com.zhangh.summer.admin.model.bo.OrgBO;
import com.zhangh.summer.admin.model.bo.OrgQuery;

import java.util.List;

/**
 * @description: TODO
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2021-09-28 01:31
 **/
public interface OrgBiz {
    public List<OrgBO> getOrgList(OrgQuery query);

    public OrgBO getOrgBO(Long id);

    /**
     *
     * @param orgBO
     * @return
     */
    public Long saveOrg(OrgBO orgBO);

    public int updateOrg(OrgBO orgBO);

    public int deleteOrg(Long id);

    public void orgSort(List<OrgBO> orgBOList);

    public List<Long> getOrgIDTreeList(Long rootID);
}
